home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / Internet Config 1.2 / Internet Config / APIs / ICKeys.h < prev    next >
Encoding:
Text File  |  1995-09-25  |  6.6 KB  |  26 lines  |  [TEXT/CWIE]

  1. r255 name;
  2.     short port;
  3.     short flags;
  4. };
  5. typedef struct ICServiceEntry ICServiceEntry, *ICServiceEntryPtr, **ICServiceEntryHandle;
  6.  
  7. struct ICServices {
  8.     short count;
  9.     ICServiceEntry services[1];
  10. };
  11. typedef struct ICServices ICServices, *ICServicesPtr, **ICServicesHandle;
  12.  
  13. enum {
  14.     ICservices_tcp_bit = 0,
  15.     ICservices_tcp_mask = 0x00000001,
  16.     ICservices_udp_bit = 1,
  17.     ICservices_udp_mask = 0x00000002
  18.     /* both bits can be set, which means the service is both TCP and UDP, eg daytime */
  19. };
  20.  
  21. #if defined(powerc) || defined(__powerc)
  22. #pragma options align=reset
  23. #endif
  24.  
  25. #endif
  26.